package by.grsu.hdm.devices;

import by.grsu.hdm.model.HomeDevice;
import by.grsu.hdm.model.IMediaPleyerAbilitys;
import by.grsu.hdm.model.IRemoteControl;


public class MediaPleyer extends HomeDevice implements IMediaPleyerAbilitys, IRemoteControl{
	

	public MediaPleyer(String id) {
		super(id); 
	}

	@Override
	public void Avi() {
		System.out.println(getDeviceId() + " plays the Avi file");		
	}

	@Override
	public void Mp4() {
		System.out.println(getDeviceId() + " plays the mp4 file");		
	}

	@Override
	public void Mpeg() {
		System.out.println(getDeviceId() + " plays the MPEG file");		
	}

	@Override
	public void Mp3() {
		System.out.println(getDeviceId() + " plays the mp3 file");		
	}

	@Override
	public void Flac() {
		System.out.println(getDeviceId() + " plays the flac file");	
	}

	@Override
	public void S3m() {
		System.out.println(getDeviceId() + " plays the S3M file");
	}
	
	@Override
	protected void afterTurningOn() {
		System.out.println(getDeviceId() + " device on");
	}
	
	@Override
	protected void beforeTurningOff() {
		System.out.println(getDeviceId() + " device off");	
	}

	@Override
	public void stop() {
		System.out.println(getDeviceId() + " you click on the stop");
		
	}

	@Override
	public void pause() {
		System.out.println(getDeviceId() + " you click on the pause");
		
	}

	@Override
	public void play() {
		System.out.println(getDeviceId() + " you click on the play");
		
	}
}
